I also introduced a gab between tabs as in the mockups.
-GtkNotebook-initial-gap: 10;
-GtkNotebook-arrow-spacing: 5;
-GtkNotebook-tab-curvature: 0;
- -GtkNotebook-tab-overlap: 1;
+ -GtkNotebook-tab-overlap: -8;
-GtkNotebook-has-tab-gap: false;
-GtkWidget-focus-padding: 0;
-GtkWidget-focus-line-width: 0;
&.top, &.bottom { padding: $vt_vpadding $vt_hpadding; }
&.left, &.right { padding: $ht_vpadding $ht_hpadding; }
+
/* works for testnotebookdnd, but there's a superfluous border
in gedit or web, commented out for now, needs gtk fixes
&.reorderable-page {
}
}
GtkLabel { //tab text
- // this doesn't affect labels on reorderable pages, not css fault.
padding: 0 2px; // needed for a nicer focus ring
font-weight: bold;
color: $insensitive_fg_color; /* color: inherit doesn't work here */
- &:backdrop {
+ &:backdrop, &.prelight-page:backdrop {
color: mix($backdrop_fg_color, $backdrop_insensitive_color, 50%);
}
+ }
+ &.prelight-page GtkLabel, GtkLabel.prelight-page {
// prelight tab text
- &.prelight-page {
- color: mix($fg_color, $insensitive_fg_color, 50%);
- }
+ color: mix($fg_color, $insensitive_fg_color, 50%);
+ }
+ &.active-page GtkLabel, GtkLabel.active-page {
// active tab text
- &.active-page {
- color: $fg_color;
- &:backdrop { color: $backdrop_fg_color; }
- }
+ color: $fg_color;
+ &:backdrop { color: $backdrop_fg_color; }
}
.button { //tab close button
border: 1px solid transparent;
-GtkNotebook-initial-gap: 10;
-GtkNotebook-arrow-spacing: 5;
-GtkNotebook-tab-curvature: 0;
- -GtkNotebook-tab-overlap: 1;
+ -GtkNotebook-tab-overlap: -8;
-GtkNotebook-has-tab-gap: false;
-GtkWidget-focus-padding: 0;
-GtkWidget-focus-line-width: 0;
font-weight: bold;
color: #939695;
/* color: inherit doesn't work here */ }
- .notebook tab GtkLabel:backdrop {
+ .notebook tab GtkLabel:backdrop, .notebook tab GtkLabel.prelight-page:backdrop {
color: #878b8a; }
- .notebook tab GtkLabel.prelight-page {
- color: #c0c2c0; }
- .notebook tab GtkLabel.active-page {
- color: #eeeeec; }
- .notebook tab GtkLabel.active-page:backdrop {
- color: #c9cbc9; }
+ .notebook tab.prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
+ color: #c0c2c0; }
+ .notebook tab.active-page GtkLabel, .notebook tab GtkLabel.active-page {
+ color: #eeeeec; }
+ .notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
+ color: #c9cbc9; }
.notebook tab .button {
border: 1px solid transparent;
icon-shadow: none;
-GtkNotebook-initial-gap: 10;
-GtkNotebook-arrow-spacing: 5;
-GtkNotebook-tab-curvature: 0;
- -GtkNotebook-tab-overlap: 1;
+ -GtkNotebook-tab-overlap: -8;
-GtkNotebook-has-tab-gap: false;
-GtkWidget-focus-padding: 0;
-GtkWidget-focus-line-width: 0;
font-weight: bold;
color: #8d9091;
/* color: inherit doesn't work here */ }
- .notebook tab GtkLabel:backdrop {
+ .notebook tab GtkLabel:backdrop, .notebook tab GtkLabel.prelight-page:backdrop {
color: #8d9090; }
- .notebook tab GtkLabel.prelight-page {
- color: #5d6263; }
- .notebook tab GtkLabel.active-page {
- color: #2e3436; }
- .notebook tab GtkLabel.active-page:backdrop {
- color: #54595a; }
+ .notebook tab.prelight-page GtkLabel, .notebook tab GtkLabel.prelight-page {
+ color: #5d6263; }
+ .notebook tab.active-page GtkLabel, .notebook tab GtkLabel.active-page {
+ color: #2e3436; }
+ .notebook tab.active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
+ color: #54595a; }
.notebook tab .button {
border: 1px solid transparent;
icon-shadow: none;